package com.jsu.springboot_crop.dao;

import com.jsu.springboot_crop.entity.Discuss;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DiscussDao {
    //查询评论
    List<Discuss> selectByKnowledgeId(@Param("knowledgeId")Integer knowledgeId);
    //增加评论
    int insertSelective(Discuss record);
}
